/** \file Vibrato.h
    \author belot.nicolas
    Vibrato effects...*/

#ifndef VIBRATO_H
#define VIBRATO_H 1

#include "PlayingEffect.h"
#include "Converter.h"

namespace libtrckr {

class Vibrato :public PlayingEffect {
/** \class libtrckr::Vibrato
\brief a vibrato....not a tremolo...
*/
	public:
	Vibrato();
	Vibrato(const Vibrato&);
	~Vibrato();

	void Tune(DynArray<double>);

	Buffer& apply(Buffer&, int*);

	private:
	double max_ratio, duration, elapsed,speed;
	bool linear;
	Converter c;
};


}
#endif

